package com.lichuang.dedao.listenBooks.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 解读人的表
 *
 * </p>
 *
 * @author kangkang
 * @since 2019-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("interpreter_book")
@ApiModel(value = "InterpreterBook对象", description = "解读人的表")
public class InterpreterBook implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "品牌解读人的id")
    @TableId(value = "interpreter_id", type = IdType.AUTO)
    private Integer interpreterId;

    @ApiModelProperty(value = "解读人的头像")
    private String headPortrait;

    @ApiModelProperty(value = "解读人的名字")
    private String name;

    @ApiModelProperty(value = "解读人的介绍")
    private String introduce;

    @ApiModelProperty(value = "人气值")
    private Integer popularity;

    @ApiModelProperty(value = "解读创建时间")
    private LocalDateTime createtime;


}
